//
//  UIViewController+LSS.m
//  ai2ban
//
//  Created by Heartbeats on 2018/1/24.
//  Copyright © 2018年 mac book pro. All rights reserved.
//

#import "UIViewController+LSS.h"

@implementation UIViewController (LSS)


-(void) goToLogin {
    
    LoginViewViewController *loginControl = [[LoginViewViewController alloc] initWithNibName:@"LoginViewViewController" bundle:nil];
    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:loginControl];
    [self presentViewController:nav animated:true completion:nil];
    
}

@end
